<template>
	 <view class="page-main">
	        <!-- <view style="margin: 30rpx;">卡片模式：</view> -->
	        <liu-slide-img :list="list" :type="2" :autoplay="autoplay" :interval="interval" @change="change"
	            @click="click"></liu-slide-img>
	    </view>
</template>

<script>
	export default {
		data() {
			return {
				 list: [
					
					{
					    src: "https://sky-take-out-app.oss-cn-shenzhen.aliyuncs.com/c316c2ee-0921-4446-b9ec-12de3c9cc670.jpg"
					},
					{
					    src: "https://sky-take-out-app.oss-cn-shenzhen.aliyuncs.com/af84d1f1-d04c-4398-a3b6-3012092ef374.jpg"
					},
					{
					    src: "https://sky-take-out-app.oss-cn-shenzhen.aliyuncs.com/542d21ae-1cd3-462e-88e2-53905e8d777b.png"
					},
					{
                        src: "https://sky-take-out-app.oss-cn-shenzhen.aliyuncs.com/45faa336-1171-4d5f-b552-2e523d542f70.png"
                    },
                    {
                        src: "https://sky-take-out-app.oss-cn-shenzhen.aliyuncs.com/c2bc8351-6deb-4d41-8217-33f434436f0f.png"
                    }
                ],
                autoplay: true,
                interval: 3000
            }
		},
		onLoad() {

		},
		methods: {
			 //当前轮播索引
			            change(e) {
			                console.log('==========', e)
			            },
			            //点击轮播
			            click(e) {
			                console.log('点击轮播', e)
			            }
		}
	}
</script>